home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2001 August / CMycha200108.iso / Zaczarowane / start.swf / scripts / DefineButton2_502 / BUTTONCONDACTION on(release).as < prev   
Text File  |  2001-06-06  |  386b  |  14 lines

  1. on(release){
  2.    stopDrag();
  3.    if(_root.stanU == "rower")
  4.    {
  5.       setProperty(_root.mc_mainElemR.mc_elementyR.mc_s4, _X, px);
  6.       setProperty(_root.mc_mainElemR.mc_elementyR.mc_s4, _Y, py);
  7.    }
  8.    if(_root.stanU == "zaglowka")
  9.    {
  10.       setProperty(_root.mc_mainElem.mc_elementy.mc_s4, _X, px);
  11.       setProperty(_root.mc_mainElem.mc_elementy.mc_s4, _Y, py);
  12.    }
  13. }
  14.